﻿using Pay.DTO;
namespace Pay.IService {
    public interface IMarketingAccountService {
        /// <summary>
        /// 用户登录
        /// </summary>
        /// <param name="login_model"></param>
        /// <returns></returns>
        marketing_user_dto UserLogin(marketing_login_model login_model);
        /// <summary>
        /// 获取合伙人系统用户登录信息
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        marketing_user_dto_ex GetMarketingUserInfo(long userId);
        /// <summary>
        /// 修改密码
        /// </summary>
        /// <param name="model"></param>
        /// <param name="merchantId"></param>
        /// <returns></returns>
        bool ChangePassword(marketing_change_pwd_model model, long merchantId);

        #region 供应商PC
        /// <summary>
        /// 供应商用户登录
        /// </summary>
        /// <param name="login_model"></param>
        /// <returns></returns>
        marketing_supplier_dto SupplierLogin(marketing_login_model login_model);

        /// <summary>
        /// 获取供应商系统用户登录信息
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        marketing_supplier_dto GetMarketingSupplier(long userId);
        #endregion
    }
}
